using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace kongjian11
{
    [Designer(typeof(TongJi_EMS._TJ_Basic.TJ_BasicControlDesigner))]
    public partial class lianjiexian35kv : TongJi_EMS._TJ_Basic.TJ_BasicControl
    {
        public lianjiexian35kv()
        {
            InitializeComponent();
        }

        private void lianjiexian35kv_Paint(object sender, PaintEventArgs e)
        {

            Pen a = new Pen(Color.Yellow, 1);
            e.Graphics.DrawLine(a, x, 0, x,y* 2f);
           
        }

        private void _lianjiexian35kvResize(object sender, EventArgs e)
        {
            this.x = this.Width / 2;
            this.y = this.Height / 2;
            //this.Refresh();

        }

        private void lianjiexian35kv_Load(object sender, EventArgs e)
        {
            _lianjiexian35kvResize(sender, e);
        }


    }
}